//
//  TMAppDelegate+TMJPush.h
//  TMSDK
//
//  Created by mac on 2021/4/30.
//  Copyright © 2021 Summer. All rights reserved.
//

#import <TMSDK/TMAppDelegate.h>

NS_ASSUME_NONNULL_BEGIN

@interface TMAppDelegate (TMJPush)

@property (nonatomic, strong, nullable) NSDictionary * launchUserInfo;

- (void)TMJPushApplication:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions;

- (void)TMApplicationWillResignActive:(UIApplication *)application;

- (void)TMApplicationDidEnterBackground:(UIApplication *)application;

- (void)TMApplicationWillEnterForeground:(UIApplication *)application;

- (void)TMApplicationDidBecomeActive:(UIApplication *)application;

- (void)TMApplicationWillTerminate:(UIApplication *)application;

- (void)TMApplication:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;

- (void)TMApplication:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error;

- (void)TMApplication:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler;

@end

NS_ASSUME_NONNULL_END
